package com.magic.zhixin.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
@Data
public class UserTopic extends BaseEntity {
    private Long userId;
    private String title;
    @Column(columnDefinition = "tinyint(1) default 0")
    private Boolean isHot;
    private String avatar;
    private String nickName;
}
